package com.asm.service.impl;

import com.asm.mapper.CpgGeneFiltMapper;
import com.asm.pojo.CpgGeneFilt;
import com.asm.service.CpgGeneFiltService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class CpgGeneFiltServiceImpl implements CpgGeneFiltService {
    @Autowired
    private CpgGeneFiltMapper cpgGeneFiltMapper;

    @Override
    public List<CpgGeneFilt> getDetailCpgTargetGenesByCpg(String snv) {
        return cpgGeneFiltMapper.getDetailCpgTargetGenesByCpg(snv);
    }

    @Override
    public List<CpgGeneFilt> getSNVByGene(String search) {
        return cpgGeneFiltMapper.getSNVByGene(search);
    }
}
